PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Particles / Points Trails / Flexi - space voyage [shifter's esc shader].milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=0 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=0.900 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=1 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=5.715 |
| 27 | fWaveSmoothing=0.900 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=1.000 |
| 30 | fModWaveAlphaEnd=1.000 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=0.107 |
| 33 | fZoomExponent=0.32104 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99010 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01743 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.310 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=0.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=2.44415 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_init1=t2 = 0; |
| 89 | wave_0_init2=t3 = 0; |
| 90 | wave_0_init3=t4 = 0; |
| 91 | wave_0_init4=cl = 0; |
| 92 | wave_0_per_frame1=t1 = 0; |
| 93 | wave_0_per_frame2=v = 0.01; |
| 94 | wave_0_per_frame3=j = j + (bass)*0.01; |
| 95 | wave_0_per_frame4=j2 = j2 + (mid_att)*0.01; |
| 96 | wave_0_per_frame5=j3 = j3 + (treb_att)*0.01; |
| 97 | wave_0_per_frame6=t2 = j; |
| 98 | wave_0_per_frame7=t3 = j2; |
| 99 | wave_0_per_frame8=t4 = j3; |
| 100 | wave_0_per_frame9=//t5 = 0; |
| 101 | wave_0_per_frame10=k = k*0.99 + 10*mid/fps; |
| 102 | wave_0_per_frame11=t5 = -k; |
| 103 | wave_0_per_frame12= |
| 104 | wave_0_per_frame13=cl1 = cl1 - 0.0005 - bass*0.003; |
| 105 | wave_0_per_frame14=cl1 = if(above(cl1,1),0,cl1); |
| 106 | wave_0_per_frame15=cl1 = if(below(cl1,0),1,cl1); |
| 107 | wave_0_per_frame16=t8 = cl1; |
| 108 | wave_0_per_frame17= |
| 109 | wave_0_per_frame18=cl2 = cl2 +0.0001 + mid*0.001 - bass*0.0005 -treb*0.0005; |
| 110 | wave_0_per_frame19=cl2 = if(above(cl2,1),0,cl2); |
| 111 | wave_0_per_frame20=cl2 = if(below(cl2,0),1,cl2); |
| 112 | wave_0_per_frame21=t7 = cl2; |
| 113 | wave_0_per_frame22= |
| 114 | wave_0_per_frame23=cl3 = cl3 +0.0001+ treb*0.001 - bass*0.0005 - mid*0.0005; |
| 115 | wave_0_per_frame24=cl3 = if(above(cl3,1),0,cl3); |
| 116 | wave_0_per_frame25=cl3 = if(below(cl3,0),1,cl3); |
| 117 | wave_0_per_frame26=t6 = cl3; |
| 118 | wave_0_per_point1=xx = ((sample*0983624912364)%10000000+100)/10000000; |
| 119 | wave_0_per_point2=yy = ((xx*1896575575)%10000000+100)/10000000; |
| 120 | wave_0_per_point3=zz = ((yy*58652340875)%10000000+100)/10000000; |
| 121 | wave_0_per_point4= |
| 122 | wave_0_per_point5= |
| 123 | wave_0_per_point6=d = sqrt(sqr(xx)+sqr(yy)+sqr(zz)); |
| 124 | wave_0_per_point7= |
| 125 | wave_0_per_point8=zz = zz + t8 - if(above(zz+t8,1),1,0) - 0.5; |
| 126 | wave_0_per_point9=xx = xx + t7 - if(above(xx+t7,1),1,0) - 0.5; |
| 127 | wave_0_per_point10=yy = yy + t6 - if(above(yy+t6,1),1,0) - 0.5; |
| 128 | wave_0_per_point11= |
| 129 | wave_0_per_point12=v = 0.001; |
| 130 | wave_0_per_point13= |
| 131 | wave_0_per_point14=w = 1;// (sample*sin(time*0.3)*0.01-1); |
| 132 | wave_0_per_point15=bb = d*d*0.5; |
| 133 | wave_0_per_point16=n= 0.3; |
| 134 | wave_0_per_point17=s1 = sin(sin(t2*w+bb)*n); |
| 135 | wave_0_per_point18=s2 = sin(sin(t3*w+bb)*n); |
| 136 | wave_0_per_point19=s3 = sin(sin(t4*w+bb)*n); |
| 137 | wave_0_per_point20=c1 = cos(sin(t2*w+bb)*n); |
| 138 | wave_0_per_point21=c2 = cos(sin(t3*w+bb)*n); |
| 139 | wave_0_per_point22=c3 = cos(sin(t4*w+bb)*n); |
| 140 | wave_0_per_point23= |
| 141 | wave_0_per_point24=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; |
| 142 | wave_0_per_point25=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); |
| 143 | wave_0_per_point26=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); |
| 144 | wave_0_per_point27= |
| 145 | wave_0_per_point28=zoom = .5*(1/(z+0.5)); |
| 146 | wave_0_per_point29=x = 0.5 + zoom*x1 + sin(time*0.1)*0.;; |
| 147 | wave_0_per_point30=y = 0.5 + zoom*y1 + cos(time*0.16801)*0.; |
| 148 | wave_0_per_point31= |
| 149 | wave_0_per_point32=pi3 = 3.1415*2*0.3333; |
| 150 | wave_0_per_point33=t = z*2+t2*1; |
| 151 | wave_0_per_point34=c=3; |
| 152 | wave_0_per_point35=r = sin(t)*c; |
| 153 | wave_0_per_point36= |
| 154 | wave_0_per_point37=g = sin(t+pi3)*c; |
| 155 | wave_0_per_point38= |
| 156 | wave_0_per_point39=b = sin(t-pi3)*c; |
| 157 | wave_0_per_point40= |
| 158 | wave_0_per_point41= |
| 159 | wave_0_per_point42=r = if(above(r,1),1,r); |
| 160 | wave_0_per_point43=r = if(below(r,0),0,r); |
| 161 | wave_0_per_point44=g = if(above(g,1),1,g); |
| 162 | wave_0_per_point45=g = if(below(g,0),0,g); |
| 163 | wave_0_per_point46=b = if(above(b,1),1,b); |
| 164 | wave_0_per_point47=b = if(below(b,0),0,b); |
| 165 | wave_0_per_point48= |
| 166 | wave_0_per_point49=a = -z+0.7; |
| 167 | wavecode_1_enabled=0 |
| 168 | wavecode_1_samples=512 |
| 169 | wavecode_1_sep=0 |
| 170 | wavecode_1_bSpectrum=0 |
| 171 | wavecode_1_bUseDots=0 |
| 172 | wavecode_1_bDrawThick=1 |
| 173 | wavecode_1_bAdditive=0 |
| 174 | wavecode_1_scaling=2.00309 |
| 175 | wavecode_1_smoothing=1.00000 |
| 176 | wavecode_1_r=1.000 |
| 177 | wavecode_1_g=1.000 |
| 178 | wavecode_1_b=1.000 |
| 179 | wavecode_1_a=1.000 |
| 180 | wave_1_per_point1=thresh = 0.65; |
| 181 | wave_1_per_point2=value2 = if(above(value2,thresh),thresh,value2); |
| 182 | wave_1_per_point3=pi = -3.1415*2; |
| 183 | wave_1_per_point4=t = -time*0.2; |
| 184 | wave_1_per_point5=x = sin(sample*pi + t); |
| 185 | wave_1_per_point6=y = cos(sample*pi + t); |
| 186 | wave_1_per_point7= |
| 187 | wave_1_per_point8=value2 = pow(value2*3,2)*0.1; |
| 188 | wave_1_per_point9=c = 5 - value2*5; |
| 189 | wave_1_per_point10=x = 2/(1+pow(2,x*c))-1; |
| 190 | wave_1_per_point11=y = 2/(1+pow(2,y*c))-1; |
| 191 | wave_1_per_point12= |
| 192 | wave_1_per_point13=x = x*0.29 + 0.5; |
| 193 | wave_1_per_point14=y = y*0.29 + 0.5; |
| 194 | wave_1_per_point15= |
| 195 | wave_1_per_point16=t = (sample*pi) -time; |
| 196 | wave_1_per_point17=pi3 = 3.1415*2/3; |
| 197 | wave_1_per_point18=c = 5; |
| 198 | wave_1_per_point19= |
| 199 | wave_1_per_point20=r = sin(t)*c; |
| 200 | wave_1_per_point21=r = if(above(r,1),1,r); |
| 201 | wave_1_per_point22=r = if(below(r,0),0,r); |
| 202 | wave_1_per_point23= |
| 203 | wave_1_per_point24=g = sin(t+pi3)*c; |
| 204 | wave_1_per_point25=g = if(above(g,1),1,g); |
| 205 | wave_1_per_point26=g = if(below(g,0),0,g); |
| 206 | wave_1_per_point27= |
| 207 | wave_1_per_point28=b = sin(t-pi3)*c; |
| 208 | wave_1_per_point29=b = if(above(b,1),1,b); |
| 209 | wave_1_per_point30=b = if(below(b,0),0,b); |
| 210 | wavecode_2_enabled=0 |
| 211 | wavecode_2_samples=512 |
| 212 | wavecode_2_sep=0 |
| 213 | wavecode_2_bSpectrum=0 |
| 214 | wavecode_2_bUseDots=0 |
| 215 | wavecode_2_bDrawThick=0 |
| 216 | wavecode_2_bAdditive=0 |
| 217 | wavecode_2_scaling=1.00000 |
| 218 | wavecode_2_smoothing=0.50000 |
| 219 | wavecode_2_r=1.000 |
| 220 | wavecode_2_g=1.000 |
| 221 | wavecode_2_b=1.000 |
| 222 | wavecode_2_a=1.000 |
| 223 | wavecode_3_enabled=0 |
| 224 | wavecode_3_samples=512 |
| 225 | wavecode_3_sep=0 |
| 226 | wavecode_3_bSpectrum=0 |
| 227 | wavecode_3_bUseDots=0 |
| 228 | wavecode_3_bDrawThick=0 |
| 229 | wavecode_3_bAdditive=0 |
| 230 | wavecode_3_scaling=1.00000 |
| 231 | wavecode_3_smoothing=0.50000 |
| 232 | wavecode_3_r=1.000 |
| 233 | wavecode_3_g=1.000 |
| 234 | wavecode_3_b=1.000 |
| 235 | wavecode_3_a=1.000 |
| 236 | shapecode_0_enabled=0 |
| 237 | shapecode_0_sides=100 |
| 238 | shapecode_0_additive=0 |
| 239 | shapecode_0_thickOutline=1 |
| 240 | shapecode_0_textured=1 |
| 241 | shapecode_0_num_inst=1 |
| 242 | shapecode_0_x=0.720 |
| 243 | shapecode_0_y=0.700 |
| 244 | shapecode_0_rad=0.10000 |
| 245 | shapecode_0_ang=3.58141 |
| 246 | shapecode_0_tex_ang=0.00000 |
| 247 | shapecode_0_tex_zoom=8.75100 |
| 248 | shapecode_0_r=1.000 |
| 249 | shapecode_0_g=1.000 |
| 250 | shapecode_0_b=1.000 |
| 251 | shapecode_0_a=1.000 |
| 252 | shapecode_0_r2=1.000 |
| 253 | shapecode_0_g2=1.000 |
| 254 | shapecode_0_b2=1.000 |
| 255 | shapecode_0_a2=1.000 |
| 256 | shapecode_0_border_r=1.000 |
| 257 | shapecode_0_border_g=1.000 |
| 258 | shapecode_0_border_b=1.000 |
| 259 | shapecode_0_border_a=0.100 |
| 260 | shape_0_init1=vx = 0; |
| 261 | shape_0_init2=vy = 0; |
| 262 | shapecode_1_enabled=0 |
| 263 | shapecode_1_sides=4 |
| 264 | shapecode_1_additive=0 |
| 265 | shapecode_1_thickOutline=0 |
| 266 | shapecode_1_textured=0 |
| 267 | shapecode_1_num_inst=1 |
| 268 | shapecode_1_x=0.500 |
| 269 | shapecode_1_y=0.500 |
| 270 | shapecode_1_rad=0.10000 |
| 271 | shapecode_1_ang=0.00000 |
| 272 | shapecode_1_tex_ang=0.00000 |
| 273 | shapecode_1_tex_zoom=1.00000 |
| 274 | shapecode_1_r=1.000 |
| 275 | shapecode_1_g=0.000 |
| 276 | shapecode_1_b=0.000 |
| 277 | shapecode_1_a=1.000 |
| 278 | shapecode_1_r2=0.000 |
| 279 | shapecode_1_g2=1.000 |
| 280 | shapecode_1_b2=0.000 |
| 281 | shapecode_1_a2=0.000 |
| 282 | shapecode_1_border_r=1.000 |
| 283 | shapecode_1_border_g=1.000 |
| 284 | shapecode_1_border_b=1.000 |
| 285 | shapecode_1_border_a=0.100 |
| 286 | shapecode_2_enabled=0 |
| 287 | shapecode_2_sides=4 |
| 288 | shapecode_2_additive=0 |
| 289 | shapecode_2_thickOutline=0 |
| 290 | shapecode_2_textured=0 |
| 291 | shapecode_2_num_inst=1 |
| 292 | shapecode_2_x=0.500 |
| 293 | shapecode_2_y=0.500 |
| 294 | shapecode_2_rad=0.10000 |
| 295 | shapecode_2_ang=0.00000 |
| 296 | shapecode_2_tex_ang=0.00000 |
| 297 | shapecode_2_tex_zoom=1.00000 |
| 298 | shapecode_2_r=1.000 |
| 299 | shapecode_2_g=0.000 |
| 300 | shapecode_2_b=0.000 |
| 301 | shapecode_2_a=1.000 |
| 302 | shapecode_2_r2=0.000 |
| 303 | shapecode_2_g2=1.000 |
| 304 | shapecode_2_b2=0.000 |
| 305 | shapecode_2_a2=0.000 |
| 306 | shapecode_2_border_r=1.000 |
| 307 | shapecode_2_border_g=1.000 |
| 308 | shapecode_2_border_b=1.000 |
| 309 | shapecode_2_border_a=0.100 |
| 310 | shapecode_3_enabled=0 |
| 311 | shapecode_3_sides=4 |
| 312 | shapecode_3_additive=0 |
| 313 | shapecode_3_thickOutline=0 |
| 314 | shapecode_3_textured=0 |
| 315 | shapecode_3_num_inst=1 |
| 316 | shapecode_3_x=0.500 |
| 317 | shapecode_3_y=0.500 |
| 318 | shapecode_3_rad=0.10000 |
| 319 | shapecode_3_ang=0.00000 |
| 320 | shapecode_3_tex_ang=0.00000 |
| 321 | shapecode_3_tex_zoom=1.00000 |
| 322 | shapecode_3_r=1.000 |
| 323 | shapecode_3_g=0.000 |
| 324 | shapecode_3_b=0.000 |
| 325 | shapecode_3_a=1.000 |
| 326 | shapecode_3_r2=0.000 |
| 327 | shapecode_3_g2=1.000 |
| 328 | shapecode_3_b2=0.000 |
| 329 | shapecode_3_a2=0.000 |
| 330 | shapecode_3_border_r=1.000 |
| 331 | shapecode_3_border_g=1.000 |
| 332 | shapecode_3_border_b=1.000 |
| 333 | shapecode_3_border_a=0.100 |
| 334 | per_frame_init_1=x1 = 0; |
| 335 | per_frame_init_2=y1 = 0; |
| 336 | per_frame_1=zoom = 0.999; |
| 337 | warp_1=`shader_body |
| 338 | warp_2=`{ |
| 339 | warp_3=`float2 pixelsize = texsize.zw; |
| 340 | warp_4=`float2 uvm = uv_orig; |
| 341 | warp_5=` |
| 342 | warp_6=`float2 noise_uv = uv_orig*texsize.xy*texsize_noise_lq.zw + rand_frame.xy; |
| 343 | warp_7=`float4 noiseVal = tex2D(sampler_noise_hq, frac(noise_uv*8)); |
| 344 | warp_8=` |
| 345 | warp_9=`ret.xyz = saturate(tex2D( sampler_pw_main,uvm).xyz*float3(1,1,.97) - float3(.0,.0,.001)); |
| 346 | warp_10=` |
| 347 | warp_11=` |
| 348 | warp_12=`float3 rsamp = tex2D(sampler_pw_main,uvm + (noiseVal.xy-.5)*6*pixelsize).xyz; |
| 349 | warp_13=`if (length(ret.xy - uvm) > length(rsamp.xy - uvm)) { |
| 350 | warp_14=`ret.xy = rsamp.xy;ret.z = rsamp.z;} |
| 351 | warp_15=` |
| 352 | warp_16=`//rsamp = tex2D(sampler_pw_main,uvm + (noiseVal.zw-.5)*2*pixelsize).xyz; |
| 353 | warp_17=`//if (length(ret.xy - uvm) > length(rsamp.xy - uvm)) { |
| 354 | warp_18=`//ret.xy = rsamp.xy;ret.z = rsamp.z;} |
| 355 | warp_19=` |
| 356 | warp_20=` |
| 357 | warp_21=`ret.xy *= pow(ret.z,.01); |
| 358 | warp_22=` |
| 359 | warp_23=` |
| 360 | warp_24=`} |